package com.shop.entity.pojo;

import com.baomidou.mybatisplus.annotation.*;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@TableName(value = "style")
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class Style implements Serializable {

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @TableField(value = "style_name")
    private String styleName;

    @TableField(value = "style_images")
    private String styleImages;

    @TableField(value = "wares_id")
    private Long waresId;

    @TableField(value = "state")
    private Integer state;

    @TableField(value = "is_delete")
    private Integer isDelete;

    @TableField(value = "remove_memo")
    private String removeMemo;

    @TableField(value = "remove_admin")
    private String removeAdmin;

    @TableField(value = "save_admin")
    private String saveAdmin;

    @TableField(value = "save_time")
    private String saveTime;

    @Version
    @TableField(value = "version")
    private Long version;

}